<div class="clases form">
<?php echo $this->Form->create('Clase');?>
	<fieldset>
 		<legend><?php __('Edit Clase'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('name', array('label' => __('Nombre de la Clase', true)));
		echo $this->Form->input('descripcion', array('label' => __('Descripción', true)));
		echo $this->Form->input('video');
		echo $this -> Form -> hidden('curso_id');
		// echo $this->Form->input('curso_id');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Volver al Inicio', true), array('profesor' => false, 'controller' => 'profesores','action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Crear Nueva Clase', true), array('controller' => 'clases','action' => 'add', $this->Form->value('Clase.curso_id'))); ?> </li>
		<li><?php echo $this->Html->link(__('Elminar Clase', true), array('action' => 'delete', $this->Form->value('Clase.id')), null, sprintf(__('Are you sure you want to delete "%s"?', true), $this->Form->value('Clase.name'))); ?></li>
		<li><?php echo $this->Html->link(__('Salir', true), array('profesor' => false, 'controller' => 'usuarios','action' => 'logout')); ?> </li>
	</ul>
</div>